package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.bean.UploadSubmitIdcardBean;
import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.IdentityModel;
import com.yiwei.hdb.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface AutonymContract {
    interface View extends BaseContract.BaseView {
        void getSubmitidCardSuccess(String name, String idcard,ResponseModel item);

        void getIdentityInfoSuccess(IdentityModel item);
        void getIdentityInfoFail(String msg);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getSubmitidCard(String name, String idcard, UploadSubmitIdcardBean item);

        void getIdentityInfo(int paramInt, String paramString);
    }
}
